﻿using JetBrains.ReSharper.Feature.Services.Bulbs;
using JetBrains.Util;

namespace Sapphire.RSharp
{
  [QuickFix]
  public class Rule01QuickFix : IQuickFix
  {
    private readonly Rule01Highlighting _highlighting;

    public Rule01QuickFix(Rule01Highlighting highlighting)
    {
      _highlighting = highlighting;
    }

    public bool IsAvailable(IUserDataHolder cache)
    {
      return true;
    }

    public IBulbItem[] Items
    {
      get
      {
        return new IBulbItem[]
                 {
                   new CustomBulbItem()
                 };
      }
    }
  }
}